package App.Repository;

import org.hibernate.Session;

/**
 * Created by xw on 2019/2/1.
 */
public class SessionManager {

    private static   Session _session;

    public SessionManager(Session session) {
        _session = session;

    }

    public static Session openSession() {
        return _session;

    }


}
